<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>js练习</title>
    <script src="../js/myScript.js"></script>
  </head>

  <body>
    <input id="inp" type="text" />
    <h1>我是h1</h1>
    <p id="demo" style="color: rebeccapurple">我是p段落</p>
    <button type="button" onclick="displayDate()">显示日期</button>
    <button type="button" onclick="myFunction()">点击这里</button>
  </body>
</html>
